/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.jeemicro.weixin.modules.timer_quartz.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeemicro.weixin.common.persistence.Page;
import com.jeemicro.weixin.common.service.CrudService;
import com.jeemicro.weixin.modules.timer_quartz.entity.TimerQuartz;
import com.jeemicro.weixin.modules.timer_quartz.dao.TimerQuartzDao;

/**
 * 定时器管理配置Service
 * @author 宋雅健
 * @version 2017-05-15
 */
@Service
@Transactional(readOnly = true)
public class TimerQuartzService extends CrudService<TimerQuartzDao, TimerQuartz> {

	public TimerQuartz get(String id) {
		return super.get(id);
	}
	
	public List<TimerQuartz> findList(TimerQuartz timerQuartz) {
		return super.findList(timerQuartz);
	}
	
	public Page<TimerQuartz> findPage(Page<TimerQuartz> page, TimerQuartz timerQuartz) {
		return super.findPage(page, timerQuartz);
	}
	
	@Transactional(readOnly = false)
	public void save(TimerQuartz timerQuartz) {
		super.save(timerQuartz);
	}
	
	@Transactional(readOnly = false)
	public void delete(TimerQuartz timerQuartz) {
		super.delete(timerQuartz);
	}
	
}